<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Core Plot (iOS): Source/CPTNumericDataType.h File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="core-plot-logo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Core Plot (iOS)
   
   </div>
   <div id="projectbrief">Cocoa plotting framework for Mac OS X and iOS</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript" src="dynsections.js"></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Animation&#160;&&#160;Constants</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_c_p_t_numeric_data_type_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle">
<div class="title">Source/CPTNumericDataType.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#import &lt;Foundation/Foundation.h&gt;</code><br/>
</div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Include dependency graph for CPTNumericDataType.h:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="_c_p_t_numeric_data_type_8h__incl.png" border="0" usemap="#_source_2_c_p_t_numeric_data_type_8h" alt=""/></div>
<map name="_source_2_c_p_t_numeric_data_type_8h" id="_source_2_c_p_t_numeric_data_type_8h">
</map>
</div>
</div><div class="textblock"><div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="closed.png" alt="+"/> This graph shows which files directly or indirectly include this file:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="_c_p_t_numeric_data_type_8h__dep__incl.png" border="0" usemap="#_source_2_c_p_t_numeric_data_type_8hdep" alt=""/></div>
<map name="_source_2_c_p_t_numeric_data_type_8hdep" id="_source_2_c_p_t_numeric_data_type_8hdep">
<area shape="rect" id="node3" href="_core_plot-_cocoa_touch_8h_source.html" title="CorePlot&#45;CocoaTouch.h" alt="" coords="687,326,863,357"/><area shape="rect" id="node5" href="_c_p_t_plot_8h.html" title="Source/CPTPlot.h" alt="" coords="516,166,650,197"/><area shape="rect" id="node23" href="_c_p_t_mutable_numeric_data_8h_source.html" title="Source/CPTMutableNumericData.h" alt="" coords="1253,166,1496,197"/><area shape="rect" id="node26" href="_c_p_t_mutable_numeric_data_09_type_conversion_8h_source.html" title="Source/CPTMutableNumericData+TypeConversion.h" alt="" coords="1087,246,1446,277"/><area shape="rect" id="node30" href="_c_p_t_numeric_data_09_type_conversion_8h_source.html" title="Source/CPTNumericData+TypeConversion.h" alt="" coords="1572,166,1879,197"/><area shape="rect" id="node33" href="_c_p_t_numeric_data_8h_source.html" title="Source/CPTNumericData.h" alt="" coords="1375,86,1567,117"/><area shape="rect" id="node8" href="_c_p_t_bar_plot_8h.html" title="Source/CPTBarPlot.h" alt="" coords="323,246,476,277"/><area shape="rect" id="node11" href="_c_p_t_pie_chart_8h.html" title="Source/CPTPieChart.h" alt="" coords="502,246,664,277"/><area shape="rect" id="node14" href="_c_p_t_range_plot_8h_source.html" title="Source/CPTRangePlot.h" alt="" coords="688,246,862,277"/><area shape="rect" id="node17" href="_c_p_t_scatter_plot_8h.html" title="Source/CPTScatterPlot.h" alt="" coords="886,246,1063,277"/><area shape="rect" id="node20" href="_c_p_t_trading_range_plot_8h.html" title="Source/CPTTradingRangePlot.h" alt="" coords="25,246,247,277"/></map>
</div>
</div>
<p><a href="_c_p_t_numeric_data_type_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct___c_p_t_numeric_data_type.html">_CPTNumericDataType</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Struct that describes the encoding of numeric data samples.  <a href="struct___c_p_t_numeric_data_type.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab9eb8548b99ca6ad5e1b4646f51f6746"></a><!-- doxytag: member="CPTNumericDataType.h::CPTDataTypeFormat" ref="ab9eb8548b99ca6ad5e1b4646f51f6746" args="" -->
typedef enum <a class="el" href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44">_CPTDataTypeFormat</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_p_t_numeric_data_type_8h.html#ab9eb8548b99ca6ad5e1b4646f51f6746">CPTDataTypeFormat</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enumeration of data formats for numeric data. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0b911106a65975081b0063bf419b294b"></a><!-- doxytag: member="CPTNumericDataType.h::CPTNumericDataType" ref="a0b911106a65975081b0063bf419b294b" args="" -->
typedef struct <a class="el" href="struct___c_p_t_numeric_data_type.html">_CPTNumericDataType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_p_t_numeric_data_type_8h.html#a0b911106a65975081b0063bf419b294b">CPTNumericDataType</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Struct that describes the encoding of numeric data samples. <br/></td></tr>
<tr><td colspan="2"><h2><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44">_CPTDataTypeFormat</a> { <br/>
&#160;&#160;<a class="el" href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44a179322c0c23b05b71e7ce4e9963571a8">CPTUndefinedDataType</a> =  0, 
<a class="el" href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44a32b8a41515f307d26fbaf8ac43ebd765">CPTIntegerDataType</a>, 
<a class="el" href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44ac84ca449afa8daa1e350f6c0a6fdaf4a">CPTUnsignedIntegerDataType</a>, 
<a class="el" href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44a5b13dc803df1657891a1970566529073">CPTFloatingPointDataType</a>, 
<br/>
&#160;&#160;<a class="el" href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44a3fe422102ee1d81b2f2b5c97ab820816">CPTComplexFloatingPointDataType</a>, 
<a class="el" href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44a9934e0ca146fdeb7f258b36f06fcf1b2">CPTDecimalDataType</a>
<br/>
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enumeration of data formats for numeric data.  <a href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Data Type Utilities</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="_c_p_t_numeric_data_type_8h.html#a0b911106a65975081b0063bf419b294b">CPTNumericDataType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_p_t_numeric_data_type_8h.html#ac00abad966bbdb7e7033cf4fa081ed5a">CPTDataType</a> (<a class="el" href="_c_p_t_numeric_data_type_8h.html#ab9eb8548b99ca6ad5e1b4646f51f6746">CPTDataTypeFormat</a> format, size_t sampleBytes, <a class="elRef" href="http://developer.apple.com/iphone/library/documentation/corefoundation/Reference/CFByteOrderUtils/Reference/reference.html">CFByteOrder</a> byteOrder)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a CPTNumericDataType struct with the given parameter values.  <a href="#ac00abad966bbdb7e7033cf4fa081ed5a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="_c_p_t_numeric_data_type_8h.html#a0b911106a65975081b0063bf419b294b">CPTNumericDataType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_p_t_numeric_data_type_8h.html#a287d220e26a98dd1a8ec009394d07dc9">CPTDataTypeWithDataTypeString</a> (<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *dataTypeString)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a CPTNumericDataType struct from a data type string.  <a href="#a287d220e26a98dd1a8ec009394d07dc9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_p_t_numeric_data_type_8h.html#a43fbd7520ce09dd3111ae35b7dfdc99b">CPTDataTypeStringFromDataType</a> (<a class="el" href="_c_p_t_numeric_data_type_8h.html#a0b911106a65975081b0063bf419b294b">CPTNumericDataType</a> dataType)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates a string representation of the given data type.  <a href="#a43fbd7520ce09dd3111ae35b7dfdc99b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_p_t_numeric_data_type_8h.html#a940d1fda41fd6ad9da29d26ccc929f25">CPTDataTypeIsSupported</a> (<a class="el" href="_c_p_t_numeric_data_type_8h.html#a0b911106a65975081b0063bf419b294b">CPTNumericDataType</a> format)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Validates a data type format.  <a href="#a940d1fda41fd6ad9da29d26ccc929f25"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_p_t_numeric_data_type_8h.html#ad93cae77ebeee18937ec36ec28e4d4a9">CPTDataTypeEqualToDataType</a> (<a class="el" href="_c_p_t_numeric_data_type_8h.html#a0b911106a65975081b0063bf419b294b">CPTNumericDataType</a> dataType1, <a class="el" href="_c_p_t_numeric_data_type_8h.html#a0b911106a65975081b0063bf419b294b">CPTNumericDataType</a> dataType2)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares two data types for equality.  <a href="#ad93cae77ebeee18937ec36ec28e4d4a9"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"></div><hr/><h2>Enumeration Type Documentation</h2>
<a class="anchor" id="adee16eda6f12a44b4cb974ba9b069b44"></a><!-- doxytag: member="CPTNumericDataType.h::_CPTDataTypeFormat" ref="adee16eda6f12a44b4cb974ba9b069b44" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="_c_p_t_numeric_data_type_8h.html#adee16eda6f12a44b4cb974ba9b069b44">_CPTDataTypeFormat</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enumeration of data formats for numeric data. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="adee16eda6f12a44b4cb974ba9b069b44a179322c0c23b05b71e7ce4e9963571a8"></a><!-- doxytag: member="CPTUndefinedDataType" ref="adee16eda6f12a44b4cb974ba9b069b44a179322c0c23b05b71e7ce4e9963571a8" args="" -->CPTUndefinedDataType</em>&nbsp;</td><td>
<p>Undefined. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="adee16eda6f12a44b4cb974ba9b069b44a32b8a41515f307d26fbaf8ac43ebd765"></a><!-- doxytag: member="CPTIntegerDataType" ref="adee16eda6f12a44b4cb974ba9b069b44a32b8a41515f307d26fbaf8ac43ebd765" args="" -->CPTIntegerDataType</em>&nbsp;</td><td>
<p>Integer. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="adee16eda6f12a44b4cb974ba9b069b44ac84ca449afa8daa1e350f6c0a6fdaf4a"></a><!-- doxytag: member="CPTUnsignedIntegerDataType" ref="adee16eda6f12a44b4cb974ba9b069b44ac84ca449afa8daa1e350f6c0a6fdaf4a" args="" -->CPTUnsignedIntegerDataType</em>&nbsp;</td><td>
<p>Unsigned integer. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="adee16eda6f12a44b4cb974ba9b069b44a5b13dc803df1657891a1970566529073"></a><!-- doxytag: member="CPTFloatingPointDataType" ref="adee16eda6f12a44b4cb974ba9b069b44a5b13dc803df1657891a1970566529073" args="" -->CPTFloatingPointDataType</em>&nbsp;</td><td>
<p>Floating point. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="adee16eda6f12a44b4cb974ba9b069b44a3fe422102ee1d81b2f2b5c97ab820816"></a><!-- doxytag: member="CPTComplexFloatingPointDataType" ref="adee16eda6f12a44b4cb974ba9b069b44a3fe422102ee1d81b2f2b5c97ab820816" args="" -->CPTComplexFloatingPointDataType</em>&nbsp;</td><td>
<p>Complex floating point. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="adee16eda6f12a44b4cb974ba9b069b44a9934e0ca146fdeb7f258b36f06fcf1b2"></a><!-- doxytag: member="CPTDecimalDataType" ref="adee16eda6f12a44b4cb974ba9b069b44a9934e0ca146fdeb7f258b36f06fcf1b2" args="" -->CPTDecimalDataType</em>&nbsp;</td><td>
<p><a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a>. </p>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="ac00abad966bbdb7e7033cf4fa081ed5a"></a><!-- doxytag: member="CPTNumericDataType.h::CPTDataType" ref="ac00abad966bbdb7e7033cf4fa081ed5a" args="(CPTDataTypeFormat format, size_t sampleBytes, CFByteOrder byteOrder)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_c_p_t_numeric_data_type_8h.html#a0b911106a65975081b0063bf419b294b">CPTNumericDataType</a> <a class="el" href="_c_p_t_numeric_data_type_8h.html#ac00abad966bbdb7e7033cf4fa081ed5a">CPTDataType</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_c_p_t_numeric_data_type_8h.html#ab9eb8548b99ca6ad5e1b4646f51f6746">CPTDataTypeFormat</a>&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>sampleBytes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="http://developer.apple.com/iphone/library/documentation/corefoundation/Reference/CFByteOrderUtils/Reference/reference.html">CFByteOrder</a>&#160;</td>
          <td class="paramname"><em>byteOrder</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Initializes a CPTNumericDataType struct with the given parameter values. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">format</td><td>The data type format. </td></tr>
    <tr><td class="paramname">sampleBytes</td><td>The number of bytes in each sample. </td></tr>
    <tr><td class="paramname">byteOrder</td><td>The byte order used to store the data samples. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The initialized CPTNumericDataType struct. </dd></dl>

</div>
</div>
<a class="anchor" id="ad93cae77ebeee18937ec36ec28e4d4a9"></a><!-- doxytag: member="CPTNumericDataType.h::CPTDataTypeEqualToDataType" ref="ad93cae77ebeee18937ec36ec28e4d4a9" args="(CPTNumericDataType dataType1, CPTNumericDataType dataType2)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a> <a class="el" href="_c_p_t_numeric_data_type_8h.html#ad93cae77ebeee18937ec36ec28e4d4a9">CPTDataTypeEqualToDataType</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_c_p_t_numeric_data_type_8h.html#a0b911106a65975081b0063bf419b294b">CPTNumericDataType</a>&#160;</td>
          <td class="paramname"><em>dataType1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_c_p_t_numeric_data_type_8h.html#a0b911106a65975081b0063bf419b294b">CPTNumericDataType</a>&#160;</td>
          <td class="paramname"><em>dataType2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Compares two data types for equality. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dataType1</td><td>The first data type format. </td></tr>
    <tr><td class="paramname">dataType2</td><td>The second data type format. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns YES if the two data types have the same format, size, and byte order. </dd></dl>

</div>
</div>
<a class="anchor" id="a940d1fda41fd6ad9da29d26ccc929f25"></a><!-- doxytag: member="CPTNumericDataType.h::CPTDataTypeIsSupported" ref="a940d1fda41fd6ad9da29d26ccc929f25" args="(CPTNumericDataType format)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a> <a class="el" href="_c_p_t_numeric_data_type_8h.html#a940d1fda41fd6ad9da29d26ccc929f25">CPTDataTypeIsSupported</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_c_p_t_numeric_data_type_8h.html#a0b911106a65975081b0063bf419b294b">CPTNumericDataType</a>&#160;</td>
          <td class="paramname"><em>format</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Validates a data type format. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">format</td><td>The data type format. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns YES if the format is supported by <a class="el" href="interface_c_p_t_numeric_data.html" title="An annotated NSData type.">CPTNumericData</a>, NO otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="a43fbd7520ce09dd3111ae35b7dfdc99b"></a><!-- doxytag: member="CPTNumericDataType.h::CPTDataTypeStringFromDataType" ref="a43fbd7520ce09dd3111ae35b7dfdc99b" args="(CPTNumericDataType dataType)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a>* <a class="el" href="_c_p_t_numeric_data_type_8h.html#a43fbd7520ce09dd3111ae35b7dfdc99b">CPTDataTypeStringFromDataType</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_c_p_t_numeric_data_type_8h.html#a0b911106a65975081b0063bf419b294b">CPTNumericDataType</a>&#160;</td>
          <td class="paramname"><em>dataType</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Generates a string representation of the given data type. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dataType</td><td>The data type. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The string representation of the given data type. </dd></dl>

</div>
</div>
<a class="anchor" id="a287d220e26a98dd1a8ec009394d07dc9"></a><!-- doxytag: member="CPTNumericDataType.h::CPTDataTypeWithDataTypeString" ref="a287d220e26a98dd1a8ec009394d07dc9" args="(NSString *dataTypeString)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_c_p_t_numeric_data_type_8h.html#a0b911106a65975081b0063bf419b294b">CPTNumericDataType</a> <a class="el" href="_c_p_t_numeric_data_type_8h.html#a287d220e26a98dd1a8ec009394d07dc9">CPTDataTypeWithDataTypeString</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *&#160;</td>
          <td class="paramname"><em>dataTypeString</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Initializes a CPTNumericDataType struct from a data type string. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">dataTypeString</td><td>The data type string. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The initialized CPTNumericDataType struct. </dd></dl>

</div>
</div>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_c_p_t_numeric_data_type_8h.html">CPTNumericDataType.h</a>      </li>

    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a></li>
   </ul>
 </div>


</body>
</html>
